CarRouteLine

class CarRouteLine : MapboxCarMapObserver

This class is to simplify the interaction with MapboxRouteLineApi, MapboxRouteArrowView, and RouteProgressObserver use cases that the app needs in the car.

Anything for rendering the car's route line, is handled here at this point.

Constructors

CarRouteLine
Link copied to clipboard
fun CarRouteLine(mainCarContext: MainCarContext)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
onDetached
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
onVisibleAreaChanged
Link copied to clipboard
open fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
toString
Link copied to clipboard
open fun toString(): String

Properties

mainCarContext
Link copied to clipboard
val mainCarContext: MainCarContext